<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-type" data-rule="required" class="form-control selectpicker" name="row[type]">
                {foreach name="typeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-num" data-rule="required" class="form-control" name="row[num]" type="number" value="{$row.num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Probability')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-probability" data-rule="required" class="form-control" step="0.0001" name="row[probability]" type="number" value="{$row.probability|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('First')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-first" data-rule="required" class="form-control" name="row[first]" type="number" value="{$row.first|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Second')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-second" data-rule="required" class="form-control" name="row[second]" type="number" value="{$row.second|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Third')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-third" data-rule="required" class="form-control" name="row[third]" type="number" value="{$row.third|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fourth')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fourth" data-rule="required" class="form-control" name="row[fourth]" type="number" value="{$row.fourth|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fifth')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fifth" data-rule="required" class="form-control" name="row[fifth]" type="number" value="{$row.fifth|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sixth')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sixth" data-rule="required" class="form-control" name="row[sixth]" type="number" value="{$row.sixth|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Seventh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-seventh" data-rule="required" class="form-control" name="row[seventh]" type="number" value="{$row.seventh|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Eighth')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-eighth" data-rule="required" class="form-control" name="row[eighth]" type="number" value="{$row.eighth|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ninth')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ninth" data-rule="required" class="form-control" name="row[ninth]" type="number" value="{$row.ninth|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tenth')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tenth" data-rule="required" class="form-control" name="row[tenth]" type="number" value="{$row.tenth|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
